<?xml version="1.0" encoding="utf-8" ?>
<asn:Sequence
  xmlns:asn="http://schemas.dot.net/asnxml/201808/"
  name="EnvelopedDataAsn"
  namespace="System.Security.Cryptography.Pkcs.Asn1">

  <!--
    https://tools.ietf.org/html/rfc5652#section-6.1

    EnvelopedData ::= SEQUENCE {
        version CMSVersion,
        originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
        recipientInfos RecipientInfos,
        encryptedContentInfo EncryptedContentInfo,
        unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL
    }

    RecipientInfos ::= SET SIZE (1..MAX) OF RecipientInfo
  -->
  <asn:Integer name="Version" backingType="int" />
  <asn:AsnType name="OriginatorInfo" typeName="System.Security.Cryptography.Pkcs.Asn1.OriginatorInfoAsn" implicitTag="0" optional="true" />
  <asn:SetOf name="RecipientInfos">
    <asn:AsnType typeName="System.Security.Cryptography.Pkcs.Asn1.RecipientInfoAsn" />
  </asn:SetOf>
  <asn:AsnType name="EncryptedContentInfo" typeName="System.Security.Cryptography.Asn1.Pkcs7.EncryptedContentInfoAsn" />
  <asn:SetOf name="UnprotectedAttributes" implicitTag="1" optional="true">
    <asn:AsnType typeName="System.Security.Cryptography.Asn1.AttributeAsn" />
  </asn:SetOf>
</asn:Sequence>
